﻿using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.BasicData.Customers
{
    public interface ICustomerAppService : IApplicationService
    {
        Task<CustomerDto> GetAsync(Guid id);

        Task<CustomerDto> CreateAsync(CustomerCreateDto input);

        Task<CustomerDto> UpdateAsync(CustomerUpdateDto input);

        Task<PagedResultDto<CustomerListDto>> GetListAsync(PagedResultRequestDto filter);

        Task DeleteAsync(Guid id);
    }
}
